package com.quan.pm.commons.vo;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
@ToString(callSuper = true)
public class JDLVo {

    /**
     * 按年份查询
     */
    private Integer year;

    /**
     * 模糊查询
     */
    private String keyword;

    /**
     * ID
     */
    private Long id;

    /**
     * 工号
     */
    private String workNo;

    /**
     * 姓名
     */
    private String empName;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 职务ID
     */
    private Long postId;

    /**
     * 职务名称
     */
    private String postName;

    /**
     * 入职时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    private LocalDate joinDate;

    /**
     * 离职日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    private LocalDate quitDate;

    /**
     * 在职状态
     */
    private String status;

    /**
     * 工作天数
     */
    private Long totalWorkingDay = 0L;

    /**
     * 每月的工作天数
     */
    private List<Long> workingCount;

    /**
     * 每月工作天数
     */
    private long wm1;
    private long wm2;
    private long wm3;
    private long wm4;
    private long wm5;
    private long wm6;
    private long wm7;
    private long wm8;
    private long wm9;
    private long wm10;
    private long wm11;
    private long wm12;

    /**
     * 每月稼动率
     */
    private float jdlm1;
    private float jdlm2;
    private float jdlm3;
    private float jdlm4;
    private float jdlm5;
    private float jdlm6;
    private float jdlm7;
    private float jdlm8;
    private float jdlm9;
    private float jdlm10;
    private float jdlm11;
    private float jdlm12;

    /**
     * 统计员工年度稼动率
     */
    private String sumsYearJdl;

}
